package qrcodeUtils

import (
	"bytes"
	"github.com/skip2/go-qrcode"
)

func Create(content string) []byte {
	qr, _ := qrcode.New(content, qrcode.Medium)
	var input []byte
	buffer := bytes.NewBuffer(input)
	qr.Write(100, buffer)
	return buffer.Bytes()
}
